let _wrap = document.querySelector(".wrap");
let _day = document.querySelector(".wrap>span");
let _ewmbox = document.querySelector(".ewmbox>img")
cc_time = sessionStorage.getItem("cc_time");



ajax("http://newshopapi.0melon0.cn/api/f_user/report", {
        "name": `${sessionStorage.getItem("_name")}`,
        "phone": `${sessionStorage.getItem("_phone")}`,
    }, "POST").then(res => {

        _wrap.innerHTML = `<p>姓名:${sessionStorage.getItem("_name")}</p><span>场次:${res.result[res.result.length-1].day_time}  ${cc_time}</span><div class="ewmbox">  <img src="${sessionStorage.getItem("img")}" alt="">
        </div>`

    })
    .catch(err => {
        console.log(err);
    });